.monitor-container {
  padding: 1rem;
}

.page-header {
  margin-bottom: 2rem;
  
  h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .text-muted {
    font-size: 0.95rem;
  }
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  
  p {
    margin-top: 1rem;
    color: nb-theme(text-hint-color);
  }
}

// Metrics Cards
.metrics-cards {
  margin-bottom: 2rem;
}

.metric-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  
  &:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }
  
  nb-card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .metric-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: nb-theme(background-basic-color-2);
    
    nb-icon {
      font-size: 2rem;
    }
  }
  
  .metric-content {
    flex: 1;
    min-width: 0;
    
    .metric-label {
      margin: 0 0 0.5rem 0;
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: nb-theme(text-hint-color);
    }
    
    .metric-value {
      margin: 0 0 0.25rem 0;
      font-size: 1.75rem;
      font-weight: 700;
      line-height: 1;
      
      small {
        font-size: 0.875rem;
        font-weight: 400;
        color: nb-theme(text-hint-color);
      }
    }
    
    .metric-desc {
      margin: 0;
      font-size: 0.75rem;
      color: nb-theme(text-hint-color);
    }
  }
}

// Chart Row
.chart-row {
  margin-bottom: 2rem;
}

nb-card {
  nb-card-header {
    border-bottom: 1px solid nb-theme(border-basic-color-3);
    padding-bottom: 0.75rem;
    
    h6 {
      margin: 0 0 0.25rem 0;
      font-size: 1rem;
      font-weight: 600;
    }
    
    small {
      font-size: 0.8rem;
    }
    
    nb-icon {
      margin-right: 0.5rem;
      font-size: 1.25rem;
    }
  }
}

.chart {
  width: 100%;
  height: 300px;
}

// Resource Items
.resource-item {
  span {
    color: nb-theme(text-hint-color);
    font-size: 0.95rem;
  }
  
  strong {
    color: nb-theme(text-basic-color);
    font-size: 0.95rem;
    font-weight: 600;
  }
  
  .text-success {
    color: nb-theme(color-success-default);
  }
  
  .text-danger {
    color: nb-theme(color-danger-default);
  }
  
  nb-progress-bar {
    margin-top: 0.5rem;
  }
}

.no-data {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  
  nb-alert {
    nb-icon {
      margin-right: 0.5rem;
    }
  }
}

// Responsive Design
@media (max-width: 768px) {
  .metrics-cards {
    .col-lg-3, .col-md-6 {
      margin-bottom: 1rem;
    }
  }
  
  .chart {
    height: 250px;
  }
  
  .metric-card {
    nb-card-body {
      padding: 1rem;
    }
    
    .metric-icon {
      width: 50px;
      height: 50px;
      
      nb-icon {
        font-size: 1.5rem;
      }
    }
    
    .metric-value {
      font-size: 1.5rem;
    }
  }
}

@media (max-width: 576px) {
  .page-header {
    h2 {
      font-size: 1.5rem;
    }
  }
  
  .metric-card {
    .metric-content {
      .metric-value {
        font-size: 1.25rem;
      }
    }
  }
  
  .chart {
    height: 200px;
  }
}
